import request from '@/utils/request'
import jsonData from '@/data/store_data.json';

// api地址
const api = {
  data: 'store/data',
  appData: '/app/store/data'
}

// 获取商城基础信息
const data = () => {
  // return request.get(api.data)
  // return request.get(api.appData)  
  return new Promise((resolve, reject) => {
      resolve(jsonData)
  })
}

export default { data }
